ASP.NET MVC Controls
ListItemFactory<TItem,TItemBuilder> Constructor(IList<TItem>,Func<TItem>,Func<TItem,TItemBuilder>)

The specified collection.
The function to create an item.
The builder to set an item.
Initializes an instance of the ListItemFactory<TItem,TItemBuilder> class by using the specified collection.
Syntax
'Declaration
 
Public Function New( _
   ByVal list As IList(Of TItem), _
   ByVal createItem As Func(Of TItem), _
   ByVal createItemBuilder As Func(Of TItem,TItemBuilder) _
)
public ListItemFactory<TItem,TItemBuilder>( 
   IList<TItem> list,
   Func<TItem> createItem,
   Func<TItem,TItemBuilder> createItemBuilder
)

Parameters

list
The specified collection.
createItem
The function to create an item.
createItemBuilder
The builder to set an item.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListItemFactory<TItem,TItemBuilder> Class
ListItemFactory<TItem,TItemBuilder> Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback